<?php if ($this->isAuthenticated) : ?>
    <div style="padding-bottom: 5px; margin-bottom: 20px; display: block; border: 1px solid black;">
        <?php echo $this->translate('Witaj') . ': ' . $this->authUserData['login']; ?>
        <a style="margin-left: 10px;" href="<?php echo $this->url(array('module' => 'default', 'controller' => 'user', 'action' => 'logout'), 'default') ?>">
            <?php echo $this->translate('Wyloguj się') ?>
        </a>
    </div>
<?php else : ?>
    <?php if (!$this->noLoginForm) : ?>
        <div style="padding-bottom: 5px; margin-bottom: 20px; display: block; border: 1px solid black;">
            <?php echo $this->loginForm ?>
            <?php echo $this->translate('Jesli nie masz jeszcze konta') . ' ' ?>
            <a style="margin-left: 10px;" href="<?php echo $this->url(array('module' => 'default', 'controller' => 'user', 'action' => 'register'), 'default') ?>">
                <?php echo $this->translate('zarejestruj się') ?>
            </a>
        </div>
    <?php endif ?>
<?php endif ?>

<?php
    /* do not use menu helper here */
//    echo $this->navigation()
//        ->menu()
//            ->setMaxDepth(10)
//            ->setMinDepth(0)
//            ->render();
?>